package camel.corp.universalcopy.a;

import android.os.Bundle;
import android.util.Log;
import androidx.appcompat.app.l;
import androidx.appcompat.app.m;
import com.android.billingclient.api.j;
import com.camel.corp.universalcopy.a.a;
import com.camel.corp.universalcopy.a.f;
import com.camel.corp.universalcopy.a.g;
import com.camel.corp.universalcopy.a.h;
import com.camel.corp.universalcopy.a.i;
import com.camel.corp.universalcopy.a.j;
import com.camel.corp.universalcopy.a.k;
import com.camel.corp.universalcopy.ma;
import com.google.android.gms.common.util.b;
import java.util.Date;
import java.util.List;

public abstract class k extends m implements f.a {
  private f r;
  
  private boolean s = false;
  
  private long t = 0L;
  
  public void a(String paramString1, String paramString2) {
    this.t = (new Date()).getTime();
    this.r.a(paramString1, paramString2);
  }
  
  public void a(List<j> paramList) {
    String str1 = a.a;
    String str2 = a.b;
    String str3 = a.c;
    for (j j : paramList) {
      String str = j.e();
      if (b.a(new String[] { str1, str2, str3 }, str)) {
        this.s = true;
        if (this.t > 0L && j.b() > this.t)
          ma.a(getApplication(), "SUBSCRIBE", j.e()); 
      } 
    } 
    this.t = 0L;
    a(this.s);
  }
  
  public abstract void a(boolean paramBoolean);
  
  public void e() {}
  
  public boolean o() { return this.s; }
  
  protected void onCreate(Bundle paramBundle) {
    super.onCreate(paramBundle);
    this.r = new f(this, this);
  }
  
  public void onDestroy() {
    Log.d("universal_copy", "Destroying helper.");
    f f1 = this.r;
    if (f1 != null)
      f1.b(); 
    super.onDestroy();
  }
  
  protected void onResume() {
    super.onResume();
    f f1 = this.r;
    if (f1 != null && f1.c() == 0)
      this.r.d(); 
  }
  
  public void p() {
    l.a a1 = new l.a(this, 2131820547);
    a1.b(2131755156);
    a1.a(2131755155);
    if (this.r.a()) {
      a1.c(2131755153, new g(this));
      a1.a(2131755154, new h(this));
    } else {
      a1.c(2131755152, new i(this));
    } 
    a1.b(17039360, new j(this));
    a1.a(true);
    a1.a().show();
  }
}


/* Location:              D:\Users\alienware\AndroidStudioProjects\Lazero\sample\sampler\classes-dex2jar\com\camel.jar!\camel\cor\\universalcopy\a\k.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.0.7
 */